<?php
namespace app\jok\controller;
use app\jok\logic\systemAuthLogic;
use think\Controller;
use think\Request;
class Auth extends Controller
{
    public function index()
    {
        $get = Request::instance()->get();
        $result = (new systemAuthLogic)->authGetList($get);
        return json($result);
    }
    public function addEdit(){
        $post = Request::instance()->post();
        $result = (new systemAuthLogic)->authAddEdit($post);
        return json($result);
    }
    public function getDetail(){
        $get = Request::instance()->get();
        $result = (new systemAuthLogic)->authDataDetail($get);
        return json($result);
    }
}
